package com.lala.rennigou.service;

import com.github.pagehelper.PageInfo;
import com.lala.rennigou.pojo.EasybuyUser;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface EasybuyUserService {
    EasybuyUser login(String loginName);

    int insert(EasybuyUser easybuyUser);

    PageInfo<EasybuyUser> selectAll(int pagenum, int pagesize);

    int deleteById(int id);

    EasybuyUser selectById(int id);
    EasybuyUser seleceByAdress(int id);


    int update(EasybuyUser easybuyUser);

}
